public class TV {
    private String color;
    private double price, size;

    public TV(String color, double price, double size) {
        this.color = color;
        this.price = price;
        this.size = size;
    }

    public void open(RemoteControl remoteControl) {
        remoteControl.open();
    }

    public void close(RemoteControl remoteControl) {
        remoteControl.close();
    }

    public void change(RemoteControl remoteControl) {
        remoteControl.change();
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }
}
